package com.newtouch.avmarketing.mgr.modules.avmarkrting.service.impl;

import com.newtouch.avmarketing.mgr.modules.avmarkrting.entity.Branch;
import com.newtouch.avmarketing.mgr.modules.avmarkrting.repo.BranchRepo;
import com.newtouch.avmarketing.mgr.modules.avmarkrting.service.BranchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BranchServiceImpl implements BranchService {
    @Autowired
    private BranchRepo branchRepo;
    @Override
    public List<Branch> findByLevel() {
        return branchRepo.findByLevel();
    }
}
